<?php
class Task_m extends CI_Model{
	function __construct(){
		parent::__construct();
		$this->load->database();
	}
	
	function query($w){
		$res=$this->db->get_where('task',$w);
//		$res=$this->db->get('task');
		return $res->result();
	}
}